const windowInfo = wx.getWindowInfo()

interface ILayout {
  window: {
    width: number;
    height: number;
  };
  isSmallDevice: boolean;
}

export default {
  window: {
    width: windowInfo.windowWidth,
    height: windowInfo.windowHeight,
  },
  isSmallDevice: windowInfo.screenWidth < 375,
} as ILayout;
